\hypertarget{class_robot_subsystem_1_1_action}{\section{Robot\-Subsystem\-:\-:Action Class Reference}
\label{class_robot_subsystem_1_1_action}\index{Robot\-Subsystem\-::\-Action@{Robot\-Subsystem\-::\-Action}}
}


{\ttfamily \#include $<$Robot\-Subsystem.\-hpp$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_robot_subsystem_1_1_action_a12b049545405093662c1aa3b9d274324}{Action} (const \hyperlink{class_robot_subsystem}{Robot\-Subsystem} $\ast$subsystem, bool take\-Semaphore=true)
\item 
\hyperlink{class_robot_subsystem_1_1_action_a6f1994bf7656d03640965d9634ae187f}{$\sim$\-Action} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \hyperlink{class_robot_subsystem_1_1_action}{Action} class represents an \hyperlink{class_robot_subsystem_1_1_action}{Action} being run on the subsystem. (Not to be confused with \hyperlink{class_operation}{Operation}.)

The main function of this class is to provide thread safety to the subsystem. To use it, declare a local variable of type \char`\"{}\-Action\char`\"{} within any public function of the subsystem (called an \char`\"{}\-Action\char`\"{} function) and pass \char`\"{}this\char`\"{} to it's constructor.

For more information on thread safety, see our \hyperlink{class_thread}{Thread} Safety Manuel that does not exist yet. \-:P 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_robot_subsystem_1_1_action_a12b049545405093662c1aa3b9d274324}{\index{Robot\-Subsystem\-::\-Action@{Robot\-Subsystem\-::\-Action}!Action@{Action}}
\index{Action@{Action}!RobotSubsystem::Action@{Robot\-Subsystem\-::\-Action}}
\subsubsection[{Action}]{\setlength{\rightskip}{0pt plus 5cm}Robot\-Subsystem\-::\-Action\-::\-Action (
\begin{DoxyParamCaption}
\item[{const {\bf Robot\-Subsystem} $\ast$}]{subsystem, }
\item[{bool}]{take\-Solenoid = {\ttfamily true}}
\end{DoxyParamCaption}
)}}\label{class_robot_subsystem_1_1_action_a12b049545405093662c1aa3b9d274324}
Constructor for \hyperlink{class_robot_subsystem_1_1_action}{Action}. \hypertarget{class_robot_subsystem_1_1_action_a6f1994bf7656d03640965d9634ae187f}{\index{Robot\-Subsystem\-::\-Action@{Robot\-Subsystem\-::\-Action}!$\sim$\-Action@{$\sim$\-Action}}
\index{$\sim$\-Action@{$\sim$\-Action}!RobotSubsystem::Action@{Robot\-Subsystem\-::\-Action}}
\subsubsection[{$\sim$\-Action}]{\setlength{\rightskip}{0pt plus 5cm}Robot\-Subsystem\-::\-Action\-::$\sim$\-Action (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_robot_subsystem_1_1_action_a6f1994bf7656d03640965d9634ae187f}
Destructor for \hyperlink{class_robot_subsystem_1_1_action}{Action}. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Sam/\-Projects/\-F\-R\-C/\-Libraries/\-Fpk/\-Entech-\/\-Fpk-\/\-Subscribers/\-Entech-\/\-Fpk/\-Subsystems/Robot\-Subsystem.\-hpp\item 
C\-:/\-Users/\-Sam/\-Projects/\-F\-R\-C/\-Libraries/\-Fpk/\-Entech-\/\-Fpk-\/\-Subscribers/\-Entech-\/\-Fpk/\-Subsystems/Robot\-Subsystem.\-cpp\end{DoxyCompactItemize}
